package java6681.bank;

/**
 * @Title: BankDemo6681
 * @Author Junichiro
 * @Description:TODO
 * @Date: 2020/12/10 0010 下午 10:39
 */
public class BankDemo6681 {
    public static void main(String[] args) {
        CheckingAccount6681 ck = new CheckingAccount6681("张三", 123, 0.5);
        System.out.println(ck);


        SavingsAccount6681 sa = new SavingsAccount6681("张张", 200, 2.0);
        System.out.println(sa);

        SavingsAccount6681 sa1 = new SavingsAccount6681("王五", 100, 2.0);
        System.out.println(sa1);

        sa.withdraw6681(0);


    }

}
